package com.kpijavatraining.module;


import java.io.Serializable;

/**
 * class has a user login
 * @author Bogdan Olexandr
 */
public class User implements Serializable {

	private static final long serialVersionUID = 8038602827741382328L;
	private String login;
	private String group;
	
	/**
	 * method sets the login
	 * @param login
	 */
	public User(String login , String group){
		this.login = login;
		this.group = group;
	}

	public String getGroup(){
		return group;
	}
	
	/**
	 * method returns the login as a String
	 */
	public String toString(){
		return login;
	}
}
